
<?php
if($this->session->userdata('role')==2 or $this->session->userdata('role')==3)
{
?>
<div class="form-group">
<div class ="container">
<form class="form-horizontal" role="form" action="<?php echo site_url('fasilitas/ubah');?>/<?php echo $hasil->ID_FASILITAS; ?>" method="post">
<label>Lokasi</label>
<input class="form-control" id="lokasi" type="text" readonly name="lokasi" maxlength="50" value="<?php echo $hasil->LOKASI; ?>"></br>
<label>Bagian</label>
<input class="form-control" id="bagian" type="text" readonly name="bagian" maxlength="50" value="<?php echo $hasil->BAGIAN; ?>" readonly ></br>
<label>Departemen </label>
<input class="form-control" id="departemen" type="text" readonly name="departemen" maxlength="50" value="<?php echo $this->session->userdata('departemen'); ?>" required ></br>
<label>Tanggal</label>
<input class="form-control" id="-datepicker" type="text" readonly name="tanggal" maxlength="50" value="<?php echo $hasil->TANGGAL; ?>"></br>
<label>Jam</label>
<input class="form-control" id="-time" type="text" readonly name="jam" maxlength="50" value="<?php echo $hasil->JAM; ?>"></br>
</br></br>
 <div class="container">
 
 <table class="table table-bordered table-condensed">
 <thead>
        <tr>
          <th>No</th>
          <th>Daftar Periksa</th>
          <th colspan="2"><center>Hasil Pemeriksaan</center></th>
		 
          <th>Keterangan</th>
        </tr>
		<tr>
          <th></th>
          <th></th>
          <th><center>YA</center></th>
		  <th><center>TIDAK</center></th>
          <th></th>
        </tr>
      </thead>
	  <tbody>
        <tr>
		<td> </td>
          <td><b>KOTAK P3K</b></td>
         
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
       <td>1</td>
	   <td><label>Terbuat dari bahan yang kuat dan mudah dibawa</label></td>
			<?php
			if($hasil->K1==1)
			{
			?>
			<td><input class="form-control" id="bahan" name="bahan" type="radio" disabled class="" value="ya" checked /></td>
        	<td><center><input class="form-control" id="bahan" name="bahan" type="radio" disabled class="" value="tidak" /></center></td>
			
			<input class="form-control" id="bahan" name="bahan" type="hidden" disabled class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
			<td><input class="form-control" id="bahan" name="bahan" type="radio" disabled class="" value="ya" /></td>
        	<td><center><input class="form-control" id="bahan" name="bahan" type="radio" disabled class="" value="tidak" checked /></center></td>
			
			<input class="form-control" id="bahan" name="bahan" type="hidden" disabled class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket1" type="text" readonly name="ket1" maxlength="50" value="<?php echo $hasil->KK1; ?>" />
 </td>
 </tr>
<tr>
<td>2</td>
	   <td><label>Berwarna dasar putih dengan lambang P3K berwarna hijau</label></td>
			<?php
			if($hasil->K2==1)
			{
			?>
            <td><input class="form-control" id="put" name="put" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="put" name="put" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="put" name="put" type="hidden" disabled class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td><input class="form-control" id="put" name="put" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="put" name="put" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="put" name="put" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket2" type="text" readonly name="ket2" maxlength="50" value="<?php echo $hasil->KK2; ?>" />
 </td>
 </tr>
<tr>
<td>3</td>
	   <td><label>Tidak dikunci</label></td>
			<?php
			if($hasil->K3==1)
			{
			?>
            <td>    <input class="form-control" id="kun" name="kun" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="kun" name="kun" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="kun" name="kun" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="kun" name="kun" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="kun" name="kun" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="kun" name="kun" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket3" type="text" readonly name="ket3" maxlength="50" value="<?php echo $hasil->KK3; ?>" />
 </td>
 </tr>
<tr>
<td>4</td>
	   <td><label>Ditempatkan pada tempat yang mudah dilihat dan dijangkau</label></td>
			<?php
			if($hasil->K4==1)
			{
			?>
            <td>    <input class="form-control" id="lih" name="lih" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lih" name="lih" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lih" name="lih" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lih" name="lih" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lih" name="lih" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="lih" name="lih" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket4" type="text" readonly name="ket4" maxlength="50" value="<?php echo $hasil->KK4; ?>" />
 </td>
 </tr>
<tr>
<td>5</td>
	   <td><label>Diberi tanda yang jelas</label></td>
			<?php
			if($hasil->K5==1)
			{
			?>
            <td>    <input class="form-control" id="tand" name="tand" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tand" name="tand" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tand" name="tand" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tand" name="tand" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tand" name="tand" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="tand" name="tand" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket5" type="text" readonly name="ket5" maxlength="50" value="<?php echo $hasil->KK5; ?>" />
 </td>
 </tr>
<tr>
<td>6</td>
	   <td><label>Cukup Cahaya</label></td>
			<?php
			if($hasil->K6==1)
			{
			?>
            <td>    <input class="form-control" id="chy" name="chy" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="chy" name="chy" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="chy" name="chy" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="chy" name="chy" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="chy" name="chy" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="chy" name="chy" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket6" type="text" readonly name="ket6" maxlength="50" value="<?php echo $hasil->KK6; ?>" />
 </td>
 </tr>
<tr>
<td>7</td>
	   <td><label>Mudah diangkat apabila digunakan</label></td>
			<?php
			if($hasil->K7==1)
			{
			?>
            <td>    <input class="form-control" id="ang" name="ang" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="ang" name="ang" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ang" name="ang" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="ang" name="ang" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ang" name="ang" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="ang" name="ang" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket7" type="text" readonly name="ket7" maxlength="50" value="<?php echo $hasil->KK7; ?>" />
 </td>
 </tr>
<tr>
<td> </td>
          <td><b>APAR</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
<td>1</td>
	   <td><label>Lokasi APAR tidak terhalang</label></td>
			<?php
			if($hasil->A1==1)
			{
			?>
            <td>    <input class="form-control" id="lok" name="lok" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lok" name="lok" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lok" name="lok" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lok" name="lok" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lok" name="lok" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="lok" name="lok" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket8" type="text" readonly name="ket8" maxlength="50" value="<?php echo $hasil->KA1; ?>" />
 </td>
 </tr>
<tr>
<td>2</td>
	   <td><label>Tekanan APAR baik</label></td>
			<?php
			if($hasil->A2==1)
			{
			?>
            <td>    <input class="form-control" id="tek" name="tek" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tek" name="tek" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tek" name="tek" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tek" name="tek" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tek" name="tek" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="tek" name="tek" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket9" type="text" readonly name="ket9" maxlength="50" value="<?php echo $hasil->KA2; ?>" />
 </td>
 </tr>
<tr>

<td>3</td>
	   <td><label>Segel/pin APAR dalam keadaan baik</label></td>
			<?php
			if($hasil->A3==1)
			{
			?>
            <td>    <input class="form-control" id="seg" name="seg" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="seg" name="seg" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="seg" name="seg" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="seg" name="seg" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="seg" name="seg" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="seg" name="seg" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket10" type="text" readonly name="ket10" maxlength="50" value="<?php echo $hasil->KA3; ?>" />
 </td>
 </tr>
<tr>

<td>4</td>
	   <td><label>Ulir tutup kepala tidak boleh</label></td>
			<?php
			if($hasil->A4==1)
			{
			?>
            <td>    <input class="form-control" id="uli" name="uli" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="uli" name="uli" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="uli" name="uli" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="uli" name="uli" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="uli" name="uli" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="uli" name="uli" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket11" type="text" readonly name="ket11" maxlength="50" value="<?php echo $hasil->KA4; ?>" />
 </td>
 </tr>
<tr>

<td>5</td>
	   <td><label>Saluran penyemprotan tidak boleh tersumbat</label></td>
			<?php
			if($hasil->A5==1)
			{
			?>
            <td>    <input class="form-control" id="sumb" name="sumb" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="sumb" name="sumb" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sumb" name="sumb" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="sumb" name="sumb" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sumb" name="sumb" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="sumb" name="sumb" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket12" type="text" readonly name="ket12" maxlength="50" value="<?php echo $hasil->KA5; ?>" />
 </td>
 </tr>
<tr>

<td>6</td>
	   <td><label>Tabung APAR dalam keadaan baik</label></td>
			<?php
			if($hasil->A6==1)
			{
			?>
            <td>    <input class="form-control" id="tab" name="tab" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tab" name="tab" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="tab" name="tab" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tab" name="tab" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tab" name="tab" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="tab" name="tab" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket13" type="text" readonly name="ket13" maxlength="50" value="<?php echo $hasil->KA6; ?>" />
 </td>
 </tr>
<tr>
<td> </td>
          <td><b>PETUNJUK EVAKUASI</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
		
		<td>1</td>
	   <td><label>Tersedia emergency exit dan siap digunakan</label></td>
			<?php
			if($hasil->P1==1)
			{
			?>
            <td>    <input class="form-control" id="exi" name="exi" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="exi" name="exi" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="exi" name="exi" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="exi" name="exi" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="exi" name="exi" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="exi" name="exi" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket14" type="text" readonly name="ket14" maxlength="50" value="<?php echo $hasil->PK1; ?>" />
 </td>
 </tr>
<tr>
		
		<td>2</td>
	   <td><label>Tidak ada penghalang</label></td>
			<?php
			if($hasil->P2==1)
			{
			?>
            <td>    <input class="form-control" id="hlg" name="hlg" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="hlg" name="hlg" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="hlg" name="hlg" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="hlg" name="hlg" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="hlg" name="hlg" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="hlg" name="hlg" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket15" type="text" readonly name="ket15" maxlength="50" value="<?php echo $hasil->PK2; ?>" />
 </td>
 </tr>
<tr>

<td>3</td>
	   <td><label>Tersedia bendera evakuasi sesuai tempatnya</label></td>
			<?php
			if($hasil->P3==1)
			{
			?>
            <td>    <input class="form-control" id="eva" name="eva" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="eava" name="eva" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="eva" name="eva" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="eva" name="eva" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="eava" name="eva" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="eava" name="eva" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket16" type="text" readonly name="ket16" maxlength="50" value="<?php echo $hasil->PK3; ?>" />
 </td>
 </tr>
<tr>
		
		<td>4</td>
	   <td><label>Tersedia papan informasi emergency call</label></td>
			<?php
			if($hasil->P4==1)
			{
			?>
            <td>    <input class="form-control" id="papa" name="papa" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="papa" name="papa" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="papa" name="papa" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="papa" name="papa" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="papa" name="papa" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="papa" name="papa" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket17" type="text" readonly name="ket17" maxlength="50" value="<?php echo $hasil->PK4; ?>" />
 </td>
 </tr>
<tr>
	
<td>5</td>
	   <td><label>Papan informasi dalam keadaan baik</label></td>
			<?php
			if($hasil->P5==1)
			{
			?>
            <td>    <input class="form-control" id="ppn" name="ppn" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="ppn" name="ppn" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="ppn" name="ppn" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="ppn" name="ppn" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ppn" name="ppn" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="ppn" name="ppn" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket18" type="text" readonly name="ket18" maxlength="50" value="<?php echo $hasil->PK5; ?>" />
 </td>
 </tr>
<tr>

<td>6</td>
	   <td><label>Tersedia assembly  point yang tersebar di unit kerja</label></td>
			<?php
			if($hasil->P6==1)
			{
			?>
            <td>    <input class="form-control" id="asm" name="asm" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="asm" name="asm" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="asm" name="asm" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="asm" name="asm" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="asm" name="asm" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="asm" name="asm" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket19" type="text" readonly name="ket19" maxlength="50" value="<?php echo $hasil->PK6; ?>" />
 </td>
 </tr>
<tr>
	
	<td>7</td>
	   <td><label>Papan dan tiang assembly point dalam keadaan baik</label></td>
			<?php
			if($hasil->P7==1)
			{
			?>
            <td>    <input class="form-control" id="bly" name="bly" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="bly" name="bly" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="bly" name="bly" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="bly" name="bly" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="bly" name="bly" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="bly" name="bly" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket20" type="text" readonly name="ket20" maxlength="50" value="<?php echo $hasil->PK7; ?>" />
 </td>
 </tr>
<tr>
	
	<td> </td>
          <td><b>Emergency Shower dan Emergency Eyewash</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
		<td>1</td>
	   <td><label>Tersedia alat dekontaminasi / safety shower sesuai kebutuhan dan siap digunakan</label></td>
			<?php
			if($hasil->E1==1)
			{
			?>
            <td>    <input class="form-control" id="sft" name="sft" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="sft" name="sft" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="sft" name="sft" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="sft" name="sft" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sft" name="sft" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				
				<input class="form-control" id="sft" name="sft" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket21" type="text" readonly name="ket21" maxlength="50" value="<?php echo $hasil->PE1; ?>" />
 </td>
 </tr>
<tr>
		
		<td>2</td>
	   <td><label>Tidak ada penghalang</label></td>
			<?php
			if($hasil->E2==1)
			{
			?>
            <td>    <input class="form-control" id="lang" name="lang" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lang" name="lang" type="radio" disabled class="" value="tidak" />
        		</center></td>
				
				<input class="form-control" id="lang" name="lang" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lang" name="lang" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lang" name="lang" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				<input class="form-control" id="lang" name="lang" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket22" type="text" readonly name="ket22" maxlength="50" value="<?php echo $hasil->PE2; ?>" />
 </td>
 </tr>
<tr>
	
	<td>3</td>
	   <td><label>Safety shower dalam keadaan baik</label></td>
			<?php
			if($hasil->E2==1)
			{
			?>
            <td>    <input class="form-control" id="shw" name="shw" type="radio" disabled class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="shw" name="shw" type="radio" disabled class="" value="tidak" />
        		</center></td>
				<input class="form-control" id="shw" name="shw" type="hidden" class="" value="ya" checked />
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="shw" name="shw" type="radio" disabled class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="shw" name="shw" type="radio" disabled class="" value="tidak" checked />
        		</center></td>
				<input class="form-control" id="shw" name="shw" type="hidden" class="" value="tidak" checked />
			<?php
			}
			?>
			<td><input class="form-control" id="ket23" type="text" readonly name="ket23" maxlength="50" value="<?php echo $hasil->PE3; ?>" />
 </td>
 </tr></tbody>

	
</table>
NIK Anggota     </br>
        <input class="form-control" id="nama1" type="text" readonly name="nama1" maxlength="50" value="<?php echo $hasil->ANGGOTA; ?>"/>
        <input class="form-control" id="nama2" type="hidden" name="nama2" maxlength="50" value="<?php echo $hasil->ANGGOTA2; ?>"/>
</br></br>
<?php
}
else
{
?>
<div class="form-group">
<div class ="container">
<form class="form-horizontal" role="form" action="<?php echo site_url('fasilitas/ubah');?>/<?php echo $hasil->ID_FASILITAS; ?>" method="post">
<label>Lokasi</label>
<input class="form-control" id="lokasi" type="text" name="lokasi" maxlength="50" value="<?php echo $hasil->LOKASI; ?>"></br>
<label>Bagian</label>
<input class="form-control" id="bagian" type="text" name="bagian" maxlength="50" value="<?php echo $hasil->BAGIAN; ?>" readonly ></br>
<label>Departemen </label>
<input class="form-control" id="departemen" type="text" name="departemen" maxlength="50" value="<?php echo $hasil->DEPARTEMEN; ?>" readonly ></br>
<label>Tanggal</label>
<input class="form-control" readonly id="-datepicker" type="text" name="tanggal" maxlength="50" value="<?php echo $hasil->TANGGAL; ?>"></br>
<label>Jam</label>
<input class="form-control" readonly id="-time" type="text" name="jam" maxlength="50" value="<?php echo $hasil->JAM; ?>"></br>
</br></br>
 <div class="container">
 
 <table class="table table-bordered table-condensed">
 <thead>
        <tr>
          <th>No</th>
          <th>Daftar Periksa</th>
          <th colspan="2"><center>Hasil Pemeriksaan</center></th>
		 
          <th>Keterangan</th>
        </tr>
		<tr>
          <th></th>
          <th></th>
          <th><center>YA</center></th>
		  <th><center>TIDAK</center></th>
          <th></th>
        </tr>
      </thead>
	  <tbody>
        <tr>
		<td> </td>
          <td><b>KOTAK P3K</b></td>
         
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
       <td>1</td>
	   <td><label>Terbuat dari bahan yang kuat dan mudah dibawa</label></td>
			<?php
			if($hasil->K1==1)
			{
			?>
			<td><input class="form-control" id="bahan" name="bahan" type="radio" class="" value="ya" checked /></td>
        	<td><center><input class="form-control" id="bahan" name="bahan" type="radio" class="" value="tidak" /></center></td>
			<?php
			}
			else
			{
			?>
			<td><input class="form-control" id="bahan" name="bahan" type="radio" class="" value="ya" /></td>
        	<td><center><input class="form-control" id="bahan" name="bahan" type="radio" class="" value="tidak" checked /></center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket1" type="text" name="ket1" maxlength="50" value="<?php echo $hasil->KK1; ?>" />
 </td>
 </tr>
<tr>
<td>2</td>
	   <td><label>Berwarna dasar putih dengan lambang P3K berwarna hijau</label></td>
			<?php
			if($hasil->K2==1)
			{
			?>
            <td><input class="form-control" id="put" name="put" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="put" name="put" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td><input class="form-control" id="put" name="put" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="put" name="put" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket2" type="text" name="ket2" maxlength="50" value="<?php echo $hasil->KK2; ?>" />
 </td>
 </tr>
<tr>
<td>3</td>
	   <td><label>Tidak dikunci</label></td>
			<?php
			if($hasil->K3==1)
			{
			?>
            <td>    <input class="form-control" id="kun" name="kun" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="kun" name="kun" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="kun" name="kun" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="kun" name="kun" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket3" type="text" name="ket3" maxlength="50" value="<?php echo $hasil->KK3; ?>" />
 </td>
 </tr>
<tr>
<td>4</td>
	   <td><label>Ditempatkan pada tempat yang mudah dilihat dan dijangkau</label></td>
			<?php
			if($hasil->K4==1)
			{
			?>
            <td>    <input class="form-control" id="lih" name="lih" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lih" name="lih" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lih" name="lih" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lih" name="lih" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket4" type="text" name="ket4" maxlength="50" value="<?php echo $hasil->KK4; ?>" />
 </td>
 </tr>
<tr>
<td>5</td>
	   <td><label>Diberi tanda yang jelas</label></td>
			<?php
			if($hasil->K5==1)
			{
			?>
            <td>    <input class="form-control" id="tand" name="tand" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tand" name="tand" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tand" name="tand" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tand" name="tand" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket5" type="text" name="ket5" maxlength="50" value="<?php echo $hasil->KK5; ?>" />
 </td>
 </tr>
<tr>
<td>6</td>
	   <td><label>Cukup Cahaya</label></td>
			<?php
			if($hasil->K6==1)
			{
			?>
            <td>    <input class="form-control" id="chy" name="chy" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="chy" name="chy" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="chy" name="chy" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="chy" name="chy" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket6" type="text" name="ket6" maxlength="50" value="<?php echo $hasil->KK6; ?>" />
 </td>
 </tr>
<tr>
<td>7</td>
	   <td><label>Mudah diangkat apabila digunakan</label></td>
			<?php
			if($hasil->K7==1)
			{
			?>
            <td>    <input class="form-control" id="ang" name="ang" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="ang" name="ang" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="ang" name="ang" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ang" name="ang" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket7" type="text" name="ket7" maxlength="50" value="<?php echo $hasil->KK7; ?>" />
 </td>
 </tr>
<tr>
<td> </td>
          <td><b>APAR</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
<td>1</td>
	   <td><label>Lokasi APAR tidak terhalang</label></td>
			<?php
			if($hasil->A1==1)
			{
			?>
            <td>    <input class="form-control" id="lok" name="lok" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lok" name="lok" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lok" name="lok" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lok" name="lok" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket8" type="text" name="ket8" maxlength="50" value="<?php echo $hasil->KA1; ?>" />
 </td>
 </tr>
<tr>
<td>2</td>
	   <td><label>Tekanan APAR baik</label></td>
			<?php
			if($hasil->A2==1)
			{
			?>
            <td>    <input class="form-control" id="tek" name="tek" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tek" name="tek" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tek" name="tek" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tek" name="tek" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket9" type="text" name="ket9" maxlength="50" value="<?php echo $hasil->KA2; ?>" />
 </td>
 </tr>
<tr>

<td>3</td>
	   <td><label>Segel/pin APAR dalam keadaan baik</label></td>
			<?php
			if($hasil->A3==1)
			{
			?>
            <td>    <input class="form-control" id="seg" name="seg" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="seg" name="seg" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="seg" name="seg" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="seg" name="seg" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket10" type="text" name="ket10" maxlength="50" value="<?php echo $hasil->KA3; ?>" />
 </td>
 </tr>
<tr>

<td>4</td>
	   <td><label>Ulir tutup kepala tidak boleh</label></td>
			<?php
			if($hasil->A4==1)
			{
			?>
            <td>    <input class="form-control" id="uli" name="uli" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="uli" name="uli" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="uli" name="uli" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="uli" name="uli" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket11" type="text" name="ket11" maxlength="50" value="<?php echo $hasil->KA4; ?>" />
 </td>
 </tr>
<tr>

<td>5</td>
	   <td><label>Saluran penyemprotan tidak boleh tersumbat</label></td>
			<?php
			if($hasil->A5==1)
			{
			?>
            <td>    <input class="form-control" id="sumb" name="sumb" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="sumb" name="sumb" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="sumb" name="sumb" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sumb" name="sumb" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket12" type="text" name="ket12" maxlength="50" value="<?php echo $hasil->KA5; ?>" />
 </td>
 </tr>
<tr>

<td>6</td>
	   <td><label>Tabung APAR dalam keadaan baik</label></td>
			<?php
			if($hasil->A6==1)
			{
			?>
            <td>    <input class="form-control" id="tab" name="tab" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="tab" name="tab" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="tab" name="tab" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="tab" name="tab" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket13" type="text" name="ket13" maxlength="50" value="<?php echo $hasil->KA6; ?>" />
 </td>
 </tr>
<tr>
<td> </td>
          <td><b>PETUNJUK EVAKUASI</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
		
		<td>1</td>
	   <td><label>Tersedia emergency exit dan siap digunakan</label></td>
			<?php
			if($hasil->P1==1)
			{
			?>
            <td>    <input class="form-control" id="exi" name="exi" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="exi" name="exi" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="exi" name="exi" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="exi" name="exi" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket14" type="text" name="ket14" maxlength="50" value="<?php echo $hasil->PK1; ?>" />
 </td>
 </tr>
<tr>
		
		<td>2</td>
	   <td><label>Tidak ada penghalang</label></td>
			<?php
			if($hasil->P2==1)
			{
			?>
            <td>    <input class="form-control" id="hlg" name="hlg" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="hlg" name="hlg" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="hlg" name="hlg" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="hlg" name="hlg" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket15" type="text" name="ket15" maxlength="50" value="<?php echo $hasil->PK2; ?>" />
 </td>
 </tr>
<tr>

<td>3</td>
	   <td><label>Tersedia bendera evakuasi sesuai tempatnya</label></td>
			<?php
			if($hasil->P3==1)
			{
			?>
            <td>    <input class="form-control" id="eva" name="eva" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="eava" name="eva" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="eva" name="eva" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="eava" name="eva" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket16" type="text" name="ket16" maxlength="50" value="<?php echo $hasil->PK3; ?>" />
 </td>
 </tr>
<tr>
		
		<td>4</td>
	   <td><label>Tersedia papan informasi emergency call</label></td>
			<?php
			if($hasil->P4==1)
			{
			?>
            <td>    <input class="form-control" id="papa" name="papa" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="papa" name="papa" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="papa" name="papa" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="papa" name="papa" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket17" type="text" name="ket17" maxlength="50" value="<?php echo $hasil->PK4; ?>" />
 </td>
 </tr>
<tr>
	
<td>5</td>
	   <td><label>Papan informasi dalam keadaan baik</label></td>
			<?php
			if($hasil->P5==1)
			{
			?>
            <td>    <input class="form-control" id="ppn" name="ppn" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="ppn" name="ppn" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="ppn" name="ppn" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="ppn" name="ppn" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket18" type="text" name="ket18" maxlength="50" value="<?php echo $hasil->PK5; ?>" />
 </td>
 </tr>
<tr>

<td>6</td>
	   <td><label>Tersedia assembly  point yang tersebar di unit kerja</label></td>
			<?php
			if($hasil->P6==1)
			{
			?>
            <td>    <input class="form-control" id="asm" name="asm" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="asm" name="asm" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="asm" name="asm" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="asm" name="asm" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket19" type="text" name="ket19" maxlength="50" value="<?php echo $hasil->PK6; ?>" />
 </td>
 </tr>
<tr>
	
	<td>7</td>
	   <td><label>Papan dan tiang assembly point dalam keadaan baik</label></td>
			<?php
			if($hasil->P7==1)
			{
			?>
            <td>    <input class="form-control" id="bly" name="bly" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="bly" name="bly" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="bly" name="bly" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="bly" name="bly" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket20" type="text" name="ket20" maxlength="50" value="<?php echo $hasil->PK7; ?>" />
 </td>
 </tr>
<tr>
	
	<td> </td>
          <td><b>Emergency Shower dan Emergency Eyewash</b></td>
          </td>
 <td>
 </td>
 <td>
 </td>
        </tr>
		<tr>
		<td>1</td>
	   <td><label>Tersedia alat dekontaminasi / safety shower sesuai kebutuhan dan siap digunakan</label></td>
			<?php
			if($hasil->E1==1)
			{
			?>
            <td>    <input class="form-control" id="sft" name="sft" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="sft" name="sft" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="sft" name="sft" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="sft" name="sft" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket21" type="text" name="ket21" maxlength="50" value="<?php echo $hasil->PE1; ?>" />
 </td>
 </tr>
<tr>
		
		<td>2</td>
	   <td><label>Tidak ada penghalang</label></td>
			<?php
			if($hasil->E2==1)
			{
			?>
            <td>    <input class="form-control" id="lang" name="lang" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="lang" name="lang" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="lang" name="lang" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="lang" name="lang" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket22" type="text" name="ket22" maxlength="50" value="<?php echo $hasil->PE2; ?>" />
 </td>
 </tr>
<tr>
	
	<td>3</td>
	   <td><label>Safety shower dalam keadaan baik</label></td>
			<?php
			if($hasil->E2==1)
			{
			?>
            <td>    <input class="form-control" id="shw" name="shw" type="radio" class="" value="ya" checked />
        		</td>

        		<td><center><input class="form-control" id="shw" name="shw" type="radio" class="" value="tidak" />
        		</center></td>
			<?php
			}
			else
			{
			?>
            <td>    <input class="form-control" id="shw" name="shw" type="radio" class="" value="ya" />
        		</td>

        		<td><center><input class="form-control" id="shw" name="shw" type="radio" class="" value="tidak" checked />
        		</center></td>
			<?php
			}
			?>
			<td><input class="form-control" id="ket23" type="text" name="ket23" maxlength="50" value="<?php echo $hasil->PE3; ?>" />
 </td>
 </tr></tbody>

	
</table>
NIK Anggota     </br>
        <input class="form-control" id="nama1" type="text" name="nama1" maxlength="50" value="<?php echo $hasil->ANGGOTA; ?>"/>
        <input class="form-control" id="nama2" type="hidden" name="nama2" maxlength="50" value="<?php echo $hasil->ANGGOTA2; ?>"/>
</br></br>
<?php
}
?>
		Pengawas Telah Memvalidasi
		<?php
		if($this->session->userdata('role')==3)
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<input name="pengawas" type="hidden" value="<?php echo $hasil->PENGAWAS; ?>">
			<?php
			}
			else
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<input name="pengawas" type="hidden" value="">
			<?php
			}
			?>
			Sekretaris Telah Memvalidasi
			<?php
			if($hasil->STATUS==3)
			{
			?>
			<input name="skertaris" type="checkbox" value="1" checked></br></br>
			<?php
			}
			else
			{
			?>
			<input name="skertaris" type="checkbox" value="1"></br></br>
			<?php
			}
		}
		else if($this->session->userdata('role')==1)
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<input name="pengawas" type="hidden" value="<?php echo $hasil->PENGAWAS; ?>">
			<?php
			}
			else
			{
			?>
			<input disabled name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<input name="pengawas" type="hidden" value="">
			<?php
			}
			?>
			Sekretaris Telah Memvalidasi
			<?php
			if($hasil->STATUS==3)
			{
			?>
			<input disabled name="skertaris" type="checkbox" value="1" checked></br></br>
			<input name="skertaris" type="hidden" value="<?php echo $hasil->STATUS; ?>"></br></br>
			<?php
			}
			else
			{
			?>
			<input disabled name="skertaris" type="checkbox" value="1"></br></br>
			<input name="skertaris" type="hidden" value="<?php echo $hasil->STATUS; ?>"></br></br>
			<?php
			}
		}
		else
		{
			if($hasil->PENGAWAS)
			{
			?>
			<input name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>" checked></br></br>
			<?php
			}
			else
			{
			?>
			<input name="pengawas" type="checkbox" value="<?php echo $this->session->userdata('user_name'); ?>"></br></br>
			<?php
			}
		}
		?>

<input type="submit" name="submit" class="btn btn-primary" value="Kirim"/>
</form>
</body></html>